<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="__ROOT__/Public/css/reset.css" type="text/css" rel="stylesheet" >
<link href="__ROOT__/Public/css/common.css" type="text/css" rel="stylesheet" >
<jquery/>
<hdjs/>
<script type="text/javascript" src="__ROOT__/Public/js/common.js"></script>
<meta name="keywords" content="" />
<meta name="description" content="" />
<title>{$webInfo.title}</title>

</head>
<body>
	<!-- 顶部开始 -->
	<div id="top">
		<div class='position'>
			<div class='left'>
				
			</div>
			<div class='right'>
				<a href="javascript:addFavorite2();">收藏</a>
			</div>
		</div>
	</div>
	<!-- 顶部结束 -->
	<!-- 头部开始 -->
	<div id="header">
		<div class='position'>
			<div class='logo'>
				<a style="line-height:60px;" href="__ROOT__">今日团购</a>
				<a style="font-size:16px;" href="__ROOT__">www.51v2.com</a>
			</div>
			<div class='search'>
				<div class='item'>
					<a href="">小时代</a>
					<a href="">KTV</a>
					<a href="">电影</a>
					<a href="">全聚德</a>
				</div>
				<div class='search-bar'>
					<input class='s-text' type="text" name="keywords" value="请输入商品名称，地址等">
					<input class='s-submit' type="submit" value='搜索'>
				</div>
			</div>
			<div class='commitment'>
				
			</div>
		</div>
	</div>
	<!-- 头部结束 -->
	<!-- 导航开始-->
	<div id="nav">
		<div class='position'>
			<!-- 分类相关 -->
			<div class='category'>
				<a class='active' href="__ROOT__">首页</a>
				<foreach from="$nav" value="$v">
					<a  href="{|U('Index/Index/index')}/cid/{$v.cid}">{$v.cname}</a>
				</foreach>
			</div>
			<!-- 用户相关 -->
			<div id="user-relevance" class='user-relevance'>
				<if value='$userIsLogin'>
				<div class='user-nav login-reg'>
						<a class='title' href="{|U:'Member/Login/quit'}">退出</a>
						<!--我的团购 -->	
					
					</div>
					<div class='user-nav my-hdtg '>
						<a class='title' href="">我的团购</a>
						<ul class="menu">
							<li><a href="">我的订单</a></li>	
							<li><a href="">我的评价</a></li>
							<li><a href="">我的收藏</a></li>
							<li><a href="">我的成长</a></li>
							<li><a href="">账户余额</a></li>
							<li><a href="">账户充值</a></li>
							<li><a href="">账户设置</a></li>
						</ul>
					</div>
				<else/>
				<!--登录注册-->
					<div class='user-nav login-reg'>
						<a class='title' href="{|U:'Member/Reg/index'}">注册</a>
					</div>
					<div class='user-nav login-reg'>	
						<a class='title' href="{|U:'Member/Login/index'}">登录</a>
					</div>
				
				</if>
			
			
					<div  class='user-nav recent-view ' url='{|U:'Member/Index/getRecentView'}' goodUrl='{|U:'Index/Detail/index'}' clearView='{|U:'Member/Index/clearRecentView'}'>
						<a class='title' href="">最近浏览</a>
						<ul class="menu">
							
						
						
						</ul>
					</div>
					<!-- 购物车-->
					<div  class='user-nav my-cart ' id='my-cart' url='{|U:'Member/Cart/index'}' goodUrl='{|U:'Index/Detail/index'}' delCartUrl='{|U:'Member/Cart/del'}'>
						<a class='title' href="{|U:'Member/Cart/index'}"><i>&nbsp;</i>购物车</a>
						<ul class="menu">
							
							<p>正在加载</p>
						</ul>
					</div>
			</div>
		</div>
	</div> 
	<!-- 导航结束 -->
	